//
//  ZDStatusCell.h
//  OCSinaWeiBo
//
//  Created by Apple on 15/11/2.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Masonry/Masonry.h>
#import "ZDStatus.h"
#import "ZDPictureView.h"
#import "ZDStatusBottomView.h"


@interface ZDStatusCell : UITableViewCell

@property (nonatomic, strong) ZDStatus *status;

/**
 *  微博内容
 */
@property (nonatomic, strong) UILabel *contentLabel;

/**
 *  微博配图视图
 */
@property (nonatomic, strong) ZDPictureView *pictureView;

/**
 *  微博底部工具条
 */
@property (nonatomic, strong) ZDStatusBottomView *bottomView;

@property (nonatomic, strong) NSLayoutConstraint *pictureViewWidthC;

@property (nonatomic, strong) NSLayoutConstraint *pictureViewHeightC;

/**
 *  返回cell的高度
 */
- (CGFloat)rowHeight:(ZDStatus *)status;


//准备子控件
- (void)prepareUI;

@end
